#include<iostream>
using namespace std;
int main()
{
	int a, b, c;
	cin >> a >> b >> c;
	int sum = 0;
	for (int i = 0;i <= a / 2;i++)
	{
		for (int j = 0;j <= b;j++)
		{
			for (int k = c/2; k <= c ;k++)
			{
				if (i + j + k > 0)
				{
					if (i <= j && k <= j)
					{
						if ((j==0||k==0)||(i * j <= k * k))
						{
							if (i <= 10)
							{
								sum++;
							}
						}
					}
				}
			}
		}
	}
	cout << sum;
	return 0;
}